package net.oaktoncc.model;

import scala.util.logging.ConsoleLogger;
import scala.collection.jcl.ArrayList;


object CookBook extends ConsoleLogger {

	var list : ArrayList[Recipe] = new ArrayList[Recipe]();

	def add(recipe : Recipe){
		this.log("Adding Recipe: " + recipe);
		list.add(recipe);
	}

	def remove(recipe : Recipe){
		this.log("Removing Recipe: " + recipe);
		list.remove(recipe);
	}

	def size() =  list.size;
}
